<?php 
/* SVN FILE: $Id$ */
/* Scheme Test cases generated on: 2010-06-16 15:56:14 : 1276674974*/
App::import('Model', 'Scheme');

class SchemeTestCase extends CakeTestCase {
	var $Scheme = null;
	var $fixtures = array('app.scheme');

	function startTest() {
		$this->Scheme =& ClassRegistry::init('Scheme');
	}

	function testSchemeInstance() {
		$this->assertTrue(is_a($this->Scheme, 'Scheme'));
	}

	function testSchemeFind() {
		$this->Scheme->recursive = -1;
		$results = $this->Scheme->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Scheme' => array(
			'id' => 1,
			'name' => 'Lorem ipsum dolor sit amet'
		));
		$this->assertEqual($results, $expected);
	}
}
?>